<div class="layui-card">
    <div class="layui-card-body">
        <form class="layui-form" action="" method="post" id="cp-form" enctype="multipart/form-data">
            <div class="layui-form-item">
                <label class="layui-form-label">应用版本 <span class="request-tips">*</span></label>
                <div class="layui-input-inline">
                    <input type="text" name="app_version"  value="v1.0" required lay-verify="required" placeholder="应用版本" autocomplete="off" class="layui-input">
                </div>
                <label class="layui-form-label">发行版本 <span class="request-tips">*</span></label>
                <div class="layui-input-inline">
                    <div class="layui-input-inline">
                        <select name="app_version_code" id="">
                            <option value="1">Alpha初步版</option>
                            <option value="2">Beta测试版</option>
                            <option value="3">γ成熟版</option>
                            <option value="4">Trial试用版</option>
                            <option value="5">Unregistered未注册版</option>
                            <option value="6">Demo演示版</option>
                            <option value="7">Release正式版</option>
                            <option value="8">Registered注册版</option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">下载次数 <span class="request-tips">*</span></label>
                <div class="layui-input-inline">
                    <input type="text" name="app_install"  value="1" required lay-verify="required" placeholder="下载次数" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">开启下载 <span class="request-tips">*</span></label>
                <div class="layui-input-inline">
                    <input type="radio" name="is_install" value="1" title="是" checked class="layui-input">
                    <input type="radio" name="is_install" value="0" title="否"  class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">软件类型 <span class="request-tips">*</span></label>
                <div class="layui-input-inline">
                    <select name="app_type">
                        <option value="1">系统型软件</option>
                        <option value="2" selected>应用型软件</option>
                    </select>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">平台支持 <span class="request-tips">*</span></label>
                <div class="layui-input-block">
                    <input type="checkbox" title="其他" value="0" checked class="layui-input" name="support_category[]">
                    <input type="checkbox" title="手机安卓" value="1" class="layui-input" name="support_category[]">
                    <input type="checkbox" title="手机苹果" value="2" class="layui-input" name="support_category[]">
                    <input type="checkbox" title="电脑windows" value="3" class="layui-input" name="support_category[]">
                    <input type="checkbox" title="电脑Mac" value="4" class="layui-input" name="support_category[]">
                    <input type="checkbox" title="跨平台" value="5" class="layui-input" name="support_category[]">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">发行包 <span class="request-tips">*</span></label>
                <div class="layui-input-block">
                    <button type="button" class="layui-btn" id="test3">
                        <i class="layui-icon">&#xe67c;</i>上传发行包
                    </button>
                </div>
                <div class="layui-input-block">
                    <table class="layui-table" id="app-pack">
                    </table>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">发行内容</label>
                <div class="layui-input-block">
                    <script id="container" type="text/plain" name="app_contents"></script>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <input type="hidden" name="app_id" value="{$app_id}">
                    <div class="layui-text">带 * 号的为必填项</div>
                    <button class="layui-btn" lay-submit lay-filter="formDemo">保存</button>
                    <a href="javascript:history.go(-1);" class="layui-btn layui-btn-primary">返回</a>

                </div>
            </div>
        </form>
    </div>
</div>
